import request from '@/api/index.js'

// 根据地址id获取时效和承运商
export const getAging = (data) => {
	return request({
		url: '/base/manage/timelyRelationship/list',
		method: 'get',
		data
	})
}

// 计算保价值
export const getCalculate = (data) => {
	return request({
		url: '/base/quotationManagement/costCalculate',
		method: 'get',
		data: data
	})
}

// 计算总价
export const getAllSum = () => {
	return request({
		url: '/base/quotationManagement/calculateDueFee',
		method: 'get',
		data: data
	})
}